package test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class User {
    public enum Gender { MALE, FEMALE };

    public static class Name {
      private String _first, _last;

      public String getFirst() { return _first; }
      public String getLast() { return _last; }

      public void setFirst(String s) { _first = s; }
      public void setLast(String s) { _last = s; }
      @Override
    	public String toString() {
    		return "(" + _first + "," + _last + ")";
    	}
    }

    private Gender _gender;
    private Map<String, Name> _name;
    private boolean _isVerified;
    private byte[] _userImage;

    public Map<String, Name> getName() { return _name; }
    public boolean isVerified() { return _isVerified; }
    public Gender getGender() { return _gender; }
    public byte[] getUserImage() { return _userImage; }

    public void setName(Map<String, Name> n) { _name = n; }
    public void setVerified(boolean b) { _isVerified = b; }
    public void setGender(Gender g) { _gender = g; }
    public void setUserImage(byte[] b) { _userImage = b; }
    @Override
    public String toString() {
    	return "(" + _name + "," + _isVerified + "," + _gender + "," + Arrays.toString(_userImage) + ")";
    }
}